package com.huahang.fashionpress.enums;

import lombok.Getter;

/**
 * 异常类枚举
 * @author : 王翰聪
 * @since : 2019/08/21
 * @version : 1.0
 */

@Getter
public enum ExceptionEnum {
    PASSWORD_ERROR(1, "登录密码错误");

    private int code;
    private String msg;

    ExceptionEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }
}
